package com.matrix.framework.core.upload;

/**
 * 文件分片数据传输对象
 *
 * Copyright © 海平面工作室 版权所有
 *
 * @Author: Leo
 * @Create: 2025-08-17 10:00:00
 * @Since 1.2
 */
public class FileChunkDto {
    private String identifier;    // 文件唯一标识符
    private Integer chunkNumber;  // 当前分片编号
    private Integer totalChunks;  // 分片总数
    private Long chunkSize;       // 每个分片大小（字节）
    private Long totalSize;       // 文件总大小（字节）
    private String filename;      // 原始文件名

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public Integer getChunkNumber() {
        return chunkNumber;
    }

    public void setChunkNumber(Integer chunkNumber) {
        this.chunkNumber = chunkNumber;
    }

    public Integer getTotalChunks() {
        return totalChunks;
    }

    public void setTotalChunks(Integer totalChunks) {
        this.totalChunks = totalChunks;
    }

    public Long getChunkSize() {
        return chunkSize;
    }

    public void setChunkSize(Long chunkSize) {
        this.chunkSize = chunkSize;
    }

    public Long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(Long totalSize) {
        this.totalSize = totalSize;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }
}